#include <iostream>
using namespace std;

struct Student
{
    string name;
    int age;

    int operator*(struct Student &s1)
    {
        return s1.age * age;
    }
};

template <typename T>
void fun(T a, T b)
{
    cout << "平方是：" << a * b << endl;
}

int main()
{
    Student s1 = {"张三", 18};
    Student s2 = {"李四", 20};

    fun(s1, s2);

    return 0;
}